package com.test.auth_db_auto.support.code;

/**
 * @ Author: .Mr
 * @ ClassName VerificationCodeGeneration
 * @ Description TODO
 * @ date 2021/12/25 16:27
 * @ Version 1.0
 */
public interface VerificationCodeGeneration<O,T> {

    /**
     * 生成验证码
     * @return
     */
    VerificationCode<O> generator(T key) throws Exception;
}
